package bean;

public class Dept {
    private int DeptID;
    private String DeptName;

    public Dept() {
    }

    public Dept(int deptID, String deptName) {
        DeptID = deptID;
        DeptName = deptName;
    }

    public int getDeptID() {
        return DeptID;
    }

    public void setDeptID(int deptID) {
        DeptID = deptID;
    }

    public String getDeptName() {
        return DeptName;
    }

    public void setDeptName(String deptName) {
        DeptName = deptName;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "DeptID=" + DeptID +
                ", DeptName='" + DeptName + '\'' +
                '}';
    }
}
